﻿using SqlSugar;

namespace SunnyPaine.Autofac.Extension.SqlSugar.Test.Model
{
    [SugarTable("t_goods")]
    public class Goods
    {
        [SugarColumn(ColumnName = "goods_id", IsPrimaryKey = true)]
        public string Id { get; set; }

        [SugarColumn(ColumnName = "goods_name")]
        public string Name { get; set; }

        [SugarColumn(ColumnName = "goods_price")]
        public decimal Price { get; set; }
    }
}
